﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/bug/Bug.master" AutoEventWireup="true"
    CodeFile="DeleteBug.aspx.cs" Inherits="admin_bug_DeleteBug" %>

<%@ MasterType VirtualPath="~/admin/bug/Bug.master" %>
<%@ Reference VirtualPath="~/admin/Admin.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="SettingHeading" runat="Server">
    Delete Bug
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TheForm" runat="Server">
    <!-- result message -->
    <div class="a-field">
        <label>
            <h2>
                <asp:Literal ID="ltrmess" runat="server"></asp:Literal>
            </h2>
        </label>
    </div>
 <div class="a-field">
        <label>
            Project Name</label>
        <div class="a-select">
            <asp:DropDownList ID="ddlProjectName" runat="server" AutoPostBack="True"
              OnSelectedIndexChanged="ddlProjectName_SelectedIndexChanged" >
            </asp:DropDownList>

        </div>
    </div>

    <div class="a-field <asp:Literal ID="ltrBugSummary" runat="server"></asp:Literal>">
        <label>
            Bug Summary</label>
        <div class="a-select">
            <asp:DropDownList ID="ddlBugName" runat="server" AutoPostBack="True"
                onselectedindexchanged="ddlBugName_SelectedIndexChanged"
              >
            </asp:DropDownList>
        </div>
        </div>

        <div class="a-details <asp:Literal ID="ltrViewDetails" runat="server"></asp:Literal>" ><asp:LinkButton
                ID="LinkButton1" runat="server" onclick="LinkButton1_Click" > View Details </asp:LinkButton>
        </div>

        <!-- display the details of bug -->
              <div class="<asp:Literal ID="ltrdetails" runat="server"></asp:Literal>">
        <!-- The type of bug to be updated -->
        <div class="a-field">
            <label>
                Type of Bug</label>
            <div class="a-select">
                <asp:DropDownList runat="server" ID="DDLTypeOfBug" Enabled="false">
                </asp:DropDownList>
            </div>
        </div>
        <!-- The summary of bug -->
        <div class="a-field">
            <label>
                Summary</label>
            <div class="a-textarea">
                <asp:TextBox Enabled="false" TextMode="MultiLine" ID="textSummary" runat="server" Height="60px"></asp:TextBox></div>
        </div>
        <!--Creating dropdown list to choose  Reproducability to be updated-->
        <div class="a-field">
            <label>
                Reproducability</label>
            <div class="a-select">
                <asp:DropDownList Enabled="false" runat="server" ID="dllReproducability">
                </asp:DropDownList>
            </div>
        </div>
        <!--Creating text box to enter the bugFoundInversion to be updated-->
        <div class="a-field">
            <label>
                Bug Found In Version</label>
            <div class="a-text">
                <asp:TextBox Enabled="false" ID="txtInVersion" runat="server"></asp:TextBox></div>
        </div>
        <!--Creating text box to enter the BugFoundInComponent-->
        <div class="a-field">
            <label>
                Bug Found In Component
            </label>
            <div class="a-text">
                <asp:TextBox Enabled="false" ID="txtFoundInComponent" runat="server"></asp:TextBox></div>
        </div>
        <!--Creating text area to enter reproduction steps of bug-->
        <div class="a-field">
            <label>
                Reproduction Steps</label>
            <div class="a-textarea">
                <asp:TextBox Enabled="false" TextMode="MultiLine" ID="txtReproductionSteps" runat="server" Height="60px"></asp:TextBox></div>
        </div>
        <!--Creating dropdown list to choose severity-->
        <div class="a-field">
            <label>
                Severity</label>
            <div class="a-select">
                <asp:DropDownList Enabled="false" runat="server" ID="dllSeverity">
                </asp:DropDownList>
            </div>
        </div>
        <!--Creating dropdown list to choose priority-->
        <div class="a-field">
            <label>
                Priority</label>
            <div class="a-select">
                <asp:DropDownList Enabled="false" runat="server" ID="dllPriority">
                </asp:DropDownList>
            </div>
        </div>
        <!--Creating text area to enter description of bug-->
        <div class="a-field">
            <label>
                Description</label>
            <div class="a-textarea">
                <asp:TextBox Enabled="false" TextMode="MultiLine" ID="txtDescription" runat="server" Height="60px"></asp:TextBox></div>
        </div>

        <!--the end-->
    </div>     <!-- submit button -->
        <div class="a-field a-buttons <asp:Literal ID="ltrbtn" runat="server"></asp:Literal>">
             <asp:Button ID="BtnDelete" runat="server" Text="Delete"  CssClass="a-button"
                onclick="BtnDelete_Click" />

        </div>

</asp:Content>